package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 朱梦晨
 * @Description:
 * @date 2024-09-07
 */
@Data
public class DigitalCollectionProductInfoAuctionConditionDTO {

    @ApiModelProperty(value = "商品id")
    //@NotNull(message = "商品id不能为空")
    private Long productId;

    @ApiModelProperty("藏品/道具Id")
    private Long relationId;

    @ApiModelProperty("一级标题")
    @NotBlank(message = "一级标题不能为空")
    private String firstTitle;

    @ApiModelProperty(value = "最低参与数量")
    @NotNull(message = "最低参与数量不能为空")
    private Integer num;

}
